package com.atguigu.gulimall.auth.service;

import com.atguigu.gulimall.auth.vo.RegisterVo;
import org.springframework.validation.BindingResult;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;

/**
 * @DESCRIPTION: 注册service
 * @author: zr
 * @DATE: 2022/12/31 11:36
 */
public interface RegisterService {
    /**
     * 用户注册
     *
     * @param registerVo
     * @param bindingResult
     * @param redirectAttributes 模拟重定向携带数据
     * @return
     */
    String register(RegisterVo registerVo, BindingResult bindingResult, RedirectAttributes redirectAttributes);
}
